package middol.upload

import grails.util.Holders
import groovy.transform.CompileStatic

/**
* @Description:    上传文件容器
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/10/22 9:59
* @Version:        1.0
*/
@CompileStatic
class UploadHandlerContainer {
    static Map<String, IUploadHandler> getUploadFileMap(){
        Map<String, IUploadHandler> uploadHandlerMap = Holders.applicationContext.getBeansOfType(IUploadHandler.class)
        return uploadHandlerMap
    }
}
